﻿ 
 

namespace Common.Algorithm.Core.LocalTest;

public class PrimExecute
{
    public static void Run(IEnumerable<GraphEdge> edges)
    {
        PrimService primService = new PrimService();
        var records = primService.RunAlgm(1, edges).ToList();
        Console.WriteLine($"{records.Count()}");
    }
    public static void Execute()
    {
        Run(GraphGenerator.GenUNndirectalWeightGraph());
    }

}
